package com.cn.wang.entry;

import java.io.Serializable;

public class user implements Serializable {
    private Long id;

    private String name;

    private String password;

    private String email;

    private Integer emailCertified;

    private String mobile;

    private Integer mobileCertified;

    private String telephone;

    private String realName;

    private Integer sex;

    private String idNo;

    private String idUrl;

    private Integer status;

    private Long logCount;

    private String secretKey;

    private Integer idCertified;

    private String location;

    private Long userLevelId;

    private String userLevel;

    private Integer userType;

    private String regProv;

    private String regCity;

    private String regCountry;

    private String regAdd;

    private String locProv;

    private String locCity;

    private String locCountry;

    private String locAdd;

    private String regProvN;

    private String regCityN;

    private String regCountryN;

    private String locProvN;

    private String locCityN;

    private String locCountryN;

    private String job;

    private String company;

    private String qqOpenId;

    private String weixinOpenId;

    private String headImg;

    private Long deptId;

    private String deptName;

    private String post;

    private Long createBy;

    private Long createTime;

    private Long updateTime;

    private String signature;

    private Integer isConsole;

    private Integer consoleStatus;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Integer getEmailCertified() {
        return emailCertified;
    }

    public void setEmailCertified(Integer emailCertified) {
        this.emailCertified = emailCertified;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public Integer getMobileCertified() {
        return mobileCertified;
    }

    public void setMobileCertified(Integer mobileCertified) {
        this.mobileCertified = mobileCertified;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone == null ? null : telephone.trim();
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName == null ? null : realName.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo == null ? null : idNo.trim();
    }

    public String getIdUrl() {
        return idUrl;
    }

    public void setIdUrl(String idUrl) {
        this.idUrl = idUrl == null ? null : idUrl.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getLogCount() {
        return logCount;
    }

    public void setLogCount(Long logCount) {
        this.logCount = logCount;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey == null ? null : secretKey.trim();
    }

    public Integer getIdCertified() {
        return idCertified;
    }

    public void setIdCertified(Integer idCertified) {
        this.idCertified = idCertified;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public Long getUserLevelId() {
        return userLevelId;
    }

    public void setUserLevelId(Long userLevelId) {
        this.userLevelId = userLevelId;
    }

    public String getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(String userLevel) {
        this.userLevel = userLevel == null ? null : userLevel.trim();
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getRegProv() {
        return regProv;
    }

    public void setRegProv(String regProv) {
        this.regProv = regProv == null ? null : regProv.trim();
    }

    public String getRegCity() {
        return regCity;
    }

    public void setRegCity(String regCity) {
        this.regCity = regCity == null ? null : regCity.trim();
    }

    public String getRegCountry() {
        return regCountry;
    }

    public void setRegCountry(String regCountry) {
        this.regCountry = regCountry == null ? null : regCountry.trim();
    }

    public String getRegAdd() {
        return regAdd;
    }

    public void setRegAdd(String regAdd) {
        this.regAdd = regAdd == null ? null : regAdd.trim();
    }

    public String getLocProv() {
        return locProv;
    }

    public void setLocProv(String locProv) {
        this.locProv = locProv == null ? null : locProv.trim();
    }

    public String getLocCity() {
        return locCity;
    }

    public void setLocCity(String locCity) {
        this.locCity = locCity == null ? null : locCity.trim();
    }

    public String getLocCountry() {
        return locCountry;
    }

    public void setLocCountry(String locCountry) {
        this.locCountry = locCountry == null ? null : locCountry.trim();
    }

    public String getLocAdd() {
        return locAdd;
    }

    public void setLocAdd(String locAdd) {
        this.locAdd = locAdd == null ? null : locAdd.trim();
    }

    public String getRegProvN() {
        return regProvN;
    }

    public void setRegProvN(String regProvN) {
        this.regProvN = regProvN == null ? null : regProvN.trim();
    }

    public String getRegCityN() {
        return regCityN;
    }

    public void setRegCityN(String regCityN) {
        this.regCityN = regCityN == null ? null : regCityN.trim();
    }

    public String getRegCountryN() {
        return regCountryN;
    }

    public void setRegCountryN(String regCountryN) {
        this.regCountryN = regCountryN == null ? null : regCountryN.trim();
    }

    public String getLocProvN() {
        return locProvN;
    }

    public void setLocProvN(String locProvN) {
        this.locProvN = locProvN == null ? null : locProvN.trim();
    }

    public String getLocCityN() {
        return locCityN;
    }

    public void setLocCityN(String locCityN) {
        this.locCityN = locCityN == null ? null : locCityN.trim();
    }

    public String getLocCountryN() {
        return locCountryN;
    }

    public void setLocCountryN(String locCountryN) {
        this.locCountryN = locCountryN == null ? null : locCountryN.trim();
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job == null ? null : job.trim();
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company == null ? null : company.trim();
    }

    public String getQqOpenId() {
        return qqOpenId;
    }

    public void setQqOpenId(String qqOpenId) {
        this.qqOpenId = qqOpenId == null ? null : qqOpenId.trim();
    }

    public String getWeixinOpenId() {
        return weixinOpenId;
    }

    public void setWeixinOpenId(String weixinOpenId) {
        this.weixinOpenId = weixinOpenId == null ? null : weixinOpenId.trim();
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg == null ? null : headImg.trim();
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName == null ? null : deptName.trim();
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post == null ? null : post.trim();
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature == null ? null : signature.trim();
    }

    public Integer getIsConsole() {
        return isConsole;
    }

    public void setIsConsole(Integer isConsole) {
        this.isConsole = isConsole;
    }

    public Integer getConsoleStatus() {
        return consoleStatus;
    }

    public void setConsoleStatus(Integer consoleStatus) {
        this.consoleStatus = consoleStatus;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        user other = (user) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword()))
            && (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail()))
            && (this.getEmailCertified() == null ? other.getEmailCertified() == null : this.getEmailCertified().equals(other.getEmailCertified()))
            && (this.getMobile() == null ? other.getMobile() == null : this.getMobile().equals(other.getMobile()))
            && (this.getMobileCertified() == null ? other.getMobileCertified() == null : this.getMobileCertified().equals(other.getMobileCertified()))
            && (this.getTelephone() == null ? other.getTelephone() == null : this.getTelephone().equals(other.getTelephone()))
            && (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName()))
            && (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
            && (this.getIdNo() == null ? other.getIdNo() == null : this.getIdNo().equals(other.getIdNo()))
            && (this.getIdUrl() == null ? other.getIdUrl() == null : this.getIdUrl().equals(other.getIdUrl()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getLogCount() == null ? other.getLogCount() == null : this.getLogCount().equals(other.getLogCount()))
            && (this.getSecretKey() == null ? other.getSecretKey() == null : this.getSecretKey().equals(other.getSecretKey()))
            && (this.getIdCertified() == null ? other.getIdCertified() == null : this.getIdCertified().equals(other.getIdCertified()))
            && (this.getLocation() == null ? other.getLocation() == null : this.getLocation().equals(other.getLocation()))
            && (this.getUserLevelId() == null ? other.getUserLevelId() == null : this.getUserLevelId().equals(other.getUserLevelId()))
            && (this.getUserLevel() == null ? other.getUserLevel() == null : this.getUserLevel().equals(other.getUserLevel()))
            && (this.getUserType() == null ? other.getUserType() == null : this.getUserType().equals(other.getUserType()))
            && (this.getRegProv() == null ? other.getRegProv() == null : this.getRegProv().equals(other.getRegProv()))
            && (this.getRegCity() == null ? other.getRegCity() == null : this.getRegCity().equals(other.getRegCity()))
            && (this.getRegCountry() == null ? other.getRegCountry() == null : this.getRegCountry().equals(other.getRegCountry()))
            && (this.getRegAdd() == null ? other.getRegAdd() == null : this.getRegAdd().equals(other.getRegAdd()))
            && (this.getLocProv() == null ? other.getLocProv() == null : this.getLocProv().equals(other.getLocProv()))
            && (this.getLocCity() == null ? other.getLocCity() == null : this.getLocCity().equals(other.getLocCity()))
            && (this.getLocCountry() == null ? other.getLocCountry() == null : this.getLocCountry().equals(other.getLocCountry()))
            && (this.getLocAdd() == null ? other.getLocAdd() == null : this.getLocAdd().equals(other.getLocAdd()))
            && (this.getRegProvN() == null ? other.getRegProvN() == null : this.getRegProvN().equals(other.getRegProvN()))
            && (this.getRegCityN() == null ? other.getRegCityN() == null : this.getRegCityN().equals(other.getRegCityN()))
            && (this.getRegCountryN() == null ? other.getRegCountryN() == null : this.getRegCountryN().equals(other.getRegCountryN()))
            && (this.getLocProvN() == null ? other.getLocProvN() == null : this.getLocProvN().equals(other.getLocProvN()))
            && (this.getLocCityN() == null ? other.getLocCityN() == null : this.getLocCityN().equals(other.getLocCityN()))
            && (this.getLocCountryN() == null ? other.getLocCountryN() == null : this.getLocCountryN().equals(other.getLocCountryN()))
            && (this.getJob() == null ? other.getJob() == null : this.getJob().equals(other.getJob()))
            && (this.getCompany() == null ? other.getCompany() == null : this.getCompany().equals(other.getCompany()))
            && (this.getQqOpenId() == null ? other.getQqOpenId() == null : this.getQqOpenId().equals(other.getQqOpenId()))
            && (this.getWeixinOpenId() == null ? other.getWeixinOpenId() == null : this.getWeixinOpenId().equals(other.getWeixinOpenId()))
            && (this.getHeadImg() == null ? other.getHeadImg() == null : this.getHeadImg().equals(other.getHeadImg()))
            && (this.getDeptId() == null ? other.getDeptId() == null : this.getDeptId().equals(other.getDeptId()))
            && (this.getDeptName() == null ? other.getDeptName() == null : this.getDeptName().equals(other.getDeptName()))
            && (this.getPost() == null ? other.getPost() == null : this.getPost().equals(other.getPost()))
            && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getSignature() == null ? other.getSignature() == null : this.getSignature().equals(other.getSignature()))
            && (this.getIsConsole() == null ? other.getIsConsole() == null : this.getIsConsole().equals(other.getIsConsole()))
            && (this.getConsoleStatus() == null ? other.getConsoleStatus() == null : this.getConsoleStatus().equals(other.getConsoleStatus()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode());
        result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode());
        result = prime * result + ((getEmailCertified() == null) ? 0 : getEmailCertified().hashCode());
        result = prime * result + ((getMobile() == null) ? 0 : getMobile().hashCode());
        result = prime * result + ((getMobileCertified() == null) ? 0 : getMobileCertified().hashCode());
        result = prime * result + ((getTelephone() == null) ? 0 : getTelephone().hashCode());
        result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode());
        result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
        result = prime * result + ((getIdNo() == null) ? 0 : getIdNo().hashCode());
        result = prime * result + ((getIdUrl() == null) ? 0 : getIdUrl().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getLogCount() == null) ? 0 : getLogCount().hashCode());
        result = prime * result + ((getSecretKey() == null) ? 0 : getSecretKey().hashCode());
        result = prime * result + ((getIdCertified() == null) ? 0 : getIdCertified().hashCode());
        result = prime * result + ((getLocation() == null) ? 0 : getLocation().hashCode());
        result = prime * result + ((getUserLevelId() == null) ? 0 : getUserLevelId().hashCode());
        result = prime * result + ((getUserLevel() == null) ? 0 : getUserLevel().hashCode());
        result = prime * result + ((getUserType() == null) ? 0 : getUserType().hashCode());
        result = prime * result + ((getRegProv() == null) ? 0 : getRegProv().hashCode());
        result = prime * result + ((getRegCity() == null) ? 0 : getRegCity().hashCode());
        result = prime * result + ((getRegCountry() == null) ? 0 : getRegCountry().hashCode());
        result = prime * result + ((getRegAdd() == null) ? 0 : getRegAdd().hashCode());
        result = prime * result + ((getLocProv() == null) ? 0 : getLocProv().hashCode());
        result = prime * result + ((getLocCity() == null) ? 0 : getLocCity().hashCode());
        result = prime * result + ((getLocCountry() == null) ? 0 : getLocCountry().hashCode());
        result = prime * result + ((getLocAdd() == null) ? 0 : getLocAdd().hashCode());
        result = prime * result + ((getRegProvN() == null) ? 0 : getRegProvN().hashCode());
        result = prime * result + ((getRegCityN() == null) ? 0 : getRegCityN().hashCode());
        result = prime * result + ((getRegCountryN() == null) ? 0 : getRegCountryN().hashCode());
        result = prime * result + ((getLocProvN() == null) ? 0 : getLocProvN().hashCode());
        result = prime * result + ((getLocCityN() == null) ? 0 : getLocCityN().hashCode());
        result = prime * result + ((getLocCountryN() == null) ? 0 : getLocCountryN().hashCode());
        result = prime * result + ((getJob() == null) ? 0 : getJob().hashCode());
        result = prime * result + ((getCompany() == null) ? 0 : getCompany().hashCode());
        result = prime * result + ((getQqOpenId() == null) ? 0 : getQqOpenId().hashCode());
        result = prime * result + ((getWeixinOpenId() == null) ? 0 : getWeixinOpenId().hashCode());
        result = prime * result + ((getHeadImg() == null) ? 0 : getHeadImg().hashCode());
        result = prime * result + ((getDeptId() == null) ? 0 : getDeptId().hashCode());
        result = prime * result + ((getDeptName() == null) ? 0 : getDeptName().hashCode());
        result = prime * result + ((getPost() == null) ? 0 : getPost().hashCode());
        result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getSignature() == null) ? 0 : getSignature().hashCode());
        result = prime * result + ((getIsConsole() == null) ? 0 : getIsConsole().hashCode());
        result = prime * result + ((getConsoleStatus() == null) ? 0 : getConsoleStatus().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", password=").append(password);
        sb.append(", email=").append(email);
        sb.append(", emailCertified=").append(emailCertified);
        sb.append(", mobile=").append(mobile);
        sb.append(", mobileCertified=").append(mobileCertified);
        sb.append(", telephone=").append(telephone);
        sb.append(", realName=").append(realName);
        sb.append(", sex=").append(sex);
        sb.append(", idNo=").append(idNo);
        sb.append(", idUrl=").append(idUrl);
        sb.append(", status=").append(status);
        sb.append(", logCount=").append(logCount);
        sb.append(", secretKey=").append(secretKey);
        sb.append(", idCertified=").append(idCertified);
        sb.append(", location=").append(location);
        sb.append(", userLevelId=").append(userLevelId);
        sb.append(", userLevel=").append(userLevel);
        sb.append(", userType=").append(userType);
        sb.append(", regProv=").append(regProv);
        sb.append(", regCity=").append(regCity);
        sb.append(", regCountry=").append(regCountry);
        sb.append(", regAdd=").append(regAdd);
        sb.append(", locProv=").append(locProv);
        sb.append(", locCity=").append(locCity);
        sb.append(", locCountry=").append(locCountry);
        sb.append(", locAdd=").append(locAdd);
        sb.append(", regProvN=").append(regProvN);
        sb.append(", regCityN=").append(regCityN);
        sb.append(", regCountryN=").append(regCountryN);
        sb.append(", locProvN=").append(locProvN);
        sb.append(", locCityN=").append(locCityN);
        sb.append(", locCountryN=").append(locCountryN);
        sb.append(", job=").append(job);
        sb.append(", company=").append(company);
        sb.append(", qqOpenId=").append(qqOpenId);
        sb.append(", weixinOpenId=").append(weixinOpenId);
        sb.append(", headImg=").append(headImg);
        sb.append(", deptId=").append(deptId);
        sb.append(", deptName=").append(deptName);
        sb.append(", post=").append(post);
        sb.append(", createBy=").append(createBy);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", signature=").append(signature);
        sb.append(", isConsole=").append(isConsole);
        sb.append(", consoleStatus=").append(consoleStatus);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}